package com.ev.asl.constant;

import io.swagger.models.auth.In;

/**
 * 爱赛璐常量
 * @author 姚家乐
 * @since 2021/5/26 15:03
 */
public class AslConstant {

    /**
     * 吴江海对应ID
     */
    public static final Long WU_ID = 272l;

    /**
     * 金炯德对应ID
     */
    public static final Long JIN_ID = 1977l;

    /**
     * 周全才对应ID
     */
    public static final Long ZHOU_QUAN_CAI_ID = 16416L;

    /**
     * 徐从荣对应ID
     */
    public static final Long XV_CONG_RONG_ID = 16414L;

    /**
     * 否
     */
    public static final Integer NO   = 0;
    /**
     * 是
     */
    public static final Integer YES  = 1;

    /**
     * 零
     */
    public static final Integer ZERO = 0;
    /**
     * 一
     */
    public static final Integer ONE  = 1;
    /**
     * 二
     */
    public static final Integer TWO  = 2;

    /**
     * 三
     */
    public static final Integer THREE  = 3;

    /**
     * 成型生产指示状态
     * @author 姚家乐
     * @since 2021/5/26 15:06
     */
    public enum MoldingProductionInstructionStatus {
                                                    PLAN("计划",
                                                         0), AUDITOR("已审查",
                                                                     1), APPROVED("已批准",
                                                                                  2), HAS_COMMENCED("已开工",
                                                                                                    3), SUSPENDED_STATE("已挂起",
                                                                                                                        4), CASE_BEEN("已结案",
                                                                                                                                      5);

        MoldingProductionInstructionStatus(String name, Integer type) {
            this.name = name;
            this.type = type;
        }

        private final String  name;
        private final Integer type;

        public String getName() {
            return name;
        }

        public Integer getType() {
            return type;
        }
    }

    /**
     * 成型日报状态
     * @author 姚家乐
     * @since 2021/5/26 15:06
     */
    public enum MoldingDailyStatus {

         PLAN("计划", 0),
        AUDITOR("已审查", 1),
        APPROVED("已批准", 2),
        SUBMITTED("已提交",3);
        private final String  name;
        private final Integer type;

        MoldingDailyStatus(String name, Integer type) {
            this.name = name;
            this.type = type;
        }

        public String getName() {
            return name;
        }

        public Integer getType() {
            return type;
        }
    }

    /**
     * 组装指示状态
     */
    public enum AssemblyInstruction {
                                     PLAN("计划",
                                          0), AUDITOR("已审查",
                                                      1), APPROVED("已批准",
                                                                   2), HAS_COMMENCED("已开工",
                                                                                     3), SUSPENDED_STATE("已挂起",
                                                                                                         4), CASE_BEEN("已结案",
                                                                                                                       5);

        AssemblyInstruction(String name, Integer type) {
            this.name = name;
            this.type = type;
        }

        private final String  name;
        private final Integer type;

        public String getName() {
            return name;
        }

        public Integer getType() {
            return type;
        }
    }

    /**
     * 组装日报状态
     * @author 姚家乐
     * @since 2021/5/26 15:06
     */
    public enum AssemblyDaily {
                               PLAN("计划", 0), AUDITOR("已审查", 1), APPROVED("已批准", 2),SUBMITTED("已提交",3);

        private final String  name;
        private final Integer type;

        AssemblyDaily(String name, Integer type) {
            this.name = name;
            this.type = type;
        }

        public String getName() {
            return name;
        }

        public Integer getType() {
            return type;
        }
    }
}
